package com.zretc.emptraining.dao;

import java.util.List;

import com.zretc.emptraining.dbtools.PageData;
import com.zretc.emptraining.entity.Teach;
import com.zretc.emptraining.entity.TeacherEva;

public interface TeacherEvaDao {
	// 增加教员评价
	public boolean addTeacherEva(TeacherEva teacherEva);
	// 查询所有
	public List<TeacherEva> getTeacherEvaAll();
	// 分页查询 --通过名称模糊查询
	public PageData<TeacherEva> getTeacherEvaByPage(int page,int pageSize,String empNoQuery);
	// 判断不是第一次评价
	public List<TeacherEva> doTeacherEva(int empNo,int cpNo);
	// 展示教员评价
	public PageData<Teach> getTeacherEvaShow(int page, int pageSize);
	// 分页查询 根据课程名模糊查询
	public PageData<TeacherEva> getTeacherEvaByCourseName(int page,int pageSize,String courseName);
	// 分页查询 根据教员名模糊查询
	public PageData<TeacherEva> getTeacherEvaByTeacherName(int page,int pageSize,String teacherName);

}
